#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreMacrosDefine.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_BroadCast.nanopb.h"
#ifndef MAX_BROADCAST_BROADCAST_NUM
#define MAX_BROADCAST_BROADCAST_NUM 121
#endif

class BroadCastDesc : public NFI_DESC_TEMPLATE_MACRO(BroadCastDesc, E_BroadCast, EOT_CONST_BROADCAST_BROADCAST_DESC_ID, MAX_BROADCAST_BROADCAST_NUM)
public:
	BroadCastDesc();
	virtual ~BroadCastDesc();
	int CreateInit();
	int ResumeInit();
public:
	int Load(NFResDb *pDB) override;
	int LoadDB(NFResDb *pDB) override;
	int CheckWhenAllDataLoaded() override;
};
